home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dbus.prerm < prev    next >
Encoding:
Text File  |  2007-03-08  |  373 b   |  18 lines

  1. #!/bin/sh -e
  2.  
  3. # Do not restart dbus on upgrades, only stop if we remove the package
  4. if [ "$1" = "upgrade" ]; then
  5.     exit 0
  6. fi
  7.  
  8. # Automatically added by dh_installinit
  9. if [ -x "/etc/init.d/dbus" ]; then
  10.     if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
  11.         invoke-rc.d dbus stop || exit $?
  12.     else
  13.         /etc/init.d/dbus stop || exit $?
  14.     fi
  15. fi
  16. # End automatically added section
  17.  
  18.